package com.codingfuture.glacierhardware.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.codingfuture.glacierhardware.entity.Company;
import com.codingfuture.glacierhardware.entity.WareHouse;

/**
 * @Author: HanLe
 * @DateTime: 2025/4/1 14:29
 * @Description:
 **/
public interface WareHouseService {
    Page<WareHouse> selectByPage(String name, Page<WareHouse> page);

    void add(WareHouse warehouse);

    void updateById(Long id, WareHouse warehouse);

    void deleteById(Long id);

    WareHouse findById(Long id);

    // 更新仓库位置
    void updateLocation(Long id, Double longitude, Double latitude);
}
